package com.batman.baselibrary;

import android.text.TextUtils;

import com.batman.baselibrary.data.result.AccountHelper;

public class Constant {


    public static boolean isDeug = false;
    public static final String VERSON_NAME = BuildConfig.VERSION_NAME;
    public static final String PACKAGE_ID = BuildConfig.APPLICATION_ID;
    public static final int DEFAULT_PAGE = 1;
    public static final int DEFAULT_PAGE_NUM = 20;


    public static final String MAPTYPE = "google";
    public static final String APPNAME = "dyap";
    public static final String PLATFORM = "android";

    //上传文件目录
    public static final String dir_exam = "exam";
    public static final String dir_train = "train";
    public static final String dir_user = "user";

    public static final String mill_API_KEY = "TCwsQuNW6EvvHaSemfImgrklD4Mg9Un3";
    public static final String mill_API_SECRET = "DHKQAFR-tNut4vCdKVPnVfKBh-4fKqcW";


    public static final String SP_HOME_POPUP = "sp_home_popup";

    public static final String SHARED_INIT_NAME = "_preferences_init";



    public static String getPostTypeName(String jobType) {
        String jobName = "";
        if (TextUtils.isEmpty(jobType)) {
            return jobName;
        }
        jobName = AccountHelper.getUser().getPostTypeName();

        return jobName;
    }

}
